﻿@model List<ITXHWEB.Models.SDDATModel>
@using (Html.BeginForm("MERZJ", "SDDAT"))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()
    <script type="text/javascript">
        function OnEKEYChg(_EPOS, _EKEY) {
            var status = $("#ekeyDropDown" + _EPOS).val();
            var dataString = 'EPOS=' + _EPOS + '&EKEY=' + _EKEY;
            $.ajax({
                type: 'POST',
                url: "/SDDAT/OnEKEYChg",
                data: dataString,
                success:
                            function () { location.reload(true); },
                Error: function () { alert("failure"); }
            });
        }
    </script>

    <div class="AllErrors">
        <table width="500" border="0">
            <tr valign="top">
                <td style="background-color:#ffff99;width:10px;text-align:top;">
                    @Html.Action("MKE00", "SDDAT")
                </td>
                <td style="background-color:#ffff99;width:100px;text-align:top;">
                    @Html.Action("MKEMF", "SDDAT")
                </td>
                <td style="background-color:#ffff99;width:100px;text-align:top;">
                    @Html.Action("MKEWM", "SDDAT")
                </td> 
                <td style="background-color:#ffff99;width:100px;text-align:top;">
                    @Html.Action("MKECD", "SDDAT")
                </td> 
            </tr> 
        </table>
    </div>
}
